package zoo2;


public class feeder {
	private String name;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public feeder(){
		
	}
	public void feedanimal(animal a[]){
		for(int i=0;i<a.length;i++){
			a[i].eat();
		}
	}
}